<template>
    <div class="header"> {{ pageTitle }} </div>
</template>
<script setup lang="ts">
import { computed } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute();
const pageTitle = computed(() => {
    return route.meta.title || ''
})
</script>


<style scoped lang="scss">
.header {
    width: 100%;
    height: 70px;
    line-height: 70px;
    letter-spacing: 5px;
    background: url("@/assets/images/header_bg.png") no-repeat;
    background-size: 100% 100%;
    font-size: 42px;
    font-family: YouSheBiaoTiHei;
    text-align: center;
}
</style>
